Another bug corrected

This time it's the sum of stuff going crazy.