Removing queries