Fixed divide by 0 bug for tests in grade summary