fix up query string exclusion