Handle undefined category in report generator