Properly reset request uri.