Fixed redirection not being returned.