Fixed a problem with the grade numbers