Ingore query parameters in the hash.

* If the hash has any query parameters, remove them before
evaluating the route