Fix batching for calculations.

``` clojure
  (if (pos? measurements-count)
   (/ measurements-sum measurements-count)
   "N/A")
```