Hiding Empty Enrollment Modes

@rocha @dsjen
Can this be updated to `if len(invalid_modes) == 0:` instead then?