Changing query() function in order to reduce sensitivity

blasted pop-ups anyway...