Bug fix: #388654
- preventing null pointer when there is no student