When the sum of all buys in the reporting period was zero a division by zero could happen CCBUG: 445458
mentioned in commit f11f53c8