Several Bug Fixes to the Report Framework