Fix the summing function's handling of null.
Make the sum function a bit clearer.