Fix long wrap-around in metrics while tracking errorsPerSecond.