Fix 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.
Merge pull request #213 from Northbay/master

Fix for statistics plugin wrong values