Fixed bug where a dash in a grade breaks everything