Fixed failing tests, check for nil in the role_or_team validation.