Fixed counting of end-of-term report.