Added ability to ignore query strings from URLs