Fix crush after adding a student