Skip report categories if there no reports. Fixes #832.