Updated to support the new way of getting marks by student.