Handle custom invoice states properly in product report.