Fix for statistics plugin wrong values

For some measures(Calculated Measures cast as string) 0 as minimum was not picked which affect the Standard deviation, and Average as well as minimum.