Custom DQL Query Result is Always Empty

humm, I think you have to use has instead of func: uid(0x2)