Fixed bug in startEnrollment() caused by comparing different types.