Added logic so that prevents average score from dividing 0 by the number of students in a section