fixes issue where weighted totals were not being calculated when grades were exported