fixed bug to make sure empty sums return zero.

TODO respond to feedback

fixed bug to make sure empty sums return zero.

http://code.google.com/p/sympy/issues/detail?id=3175