Fixed a bug when trying to add or modify a Grade without a label.