Fix a race condition in active redirection validation.