Hiding Empty Enrollment Modes

@rocha @dsjen
This if-statement and the one below are the only relevant changes in this file.