Changes to ProductStatsCalculatorImpl.java