Fixed calculation of deltas for historical streaming values