To fix this issue in a 1.9.7 install, replace the file grade/report/grader/lib.php with the version from 1.9.7+. There don't appear to be any other changes to that file that will cause problems. (At least as of version 1.98.2.71)
Gradebook
Funny "Overall average" row
This discussion has been locked so you can no longer reply to it.