Handle the (finite) geometric sums with quotient 1.

Fixes a bug reported to the mailing list.