Fixed double returnUrl on some pages.