remove leading % from queries to speed them up.