Change redirection status code check