Uid variable behaviour unexpected

@xinstein can you please share the response you got when you tried this query?