PMO-2580: avoid strange results for stddev