Correct changes to is_valid_captain method