Bugfix to student view attendance page