fixed calculation of current_grade column on enrollemnts table