Bugs for query tops