Adjusting queries