Fix query for users nearby