Bug fixes to failure category reporting in error_reporter.py