Strip the querystring when making the new path.