Fixed issue where ennrollments were not automatically destroyed when a student was deleted.