Fix back location redirect.