Numerous bugs with STM report generation