Fixes query string params and changes regex to match ?id=# format