Applied same overflow fix to STM/YV/Bouchard. Empirically I get identical results before and after.
A bunch of bugs in STM report generation.
STM/YV/Bouchard was handicapped by not updating all relevant parameters while querying.
Added debugging on query.