Added fix when there are no grades to show