Fixed a numerical error in the average rating calculations.