fixed calculation of current_grade column on enrollments table