Correct order of redirects