Fix URL parameters being wrongly routed.