fix assigning default role 'Student' to user without deleting enrollments on course delete
STUD-1140