Patch transaction stats bug