bugfix: NaN-Grades are not involved in mean calculation