Statistics clean-up after zero-data input by SMA integration

To prevent this happening again: