Fix grade scheme element validation