Skip report categories if there are no reports

Fixes #832.