Fix grades not displaying properly