added a catch for nonnumeric grades that trickle down this far