Fix the issue of showing incorrect results in student view