fixed matching urls when query params are present