Handle nil failed_attempts