Fix bug in student profile model.