Fix error in report with huge number of jobs. CAF-294