Fixes to calculation of total scores for exam detail report.