Fixes over-cleverness in EWMA code.

Aaaah, stupid Pavel, stupid Pavel