Query modification.