Include query string for invalid regular expression fix.