Fixed issue where list sums were not being calculated properly.