fixing query string check for _escaped_fragment_ in bad urls