fixed negative values for sums in reports