Fixed round-by value bug when calculating totals (see #6)