normalize the querystring before running comparisons