This has to do with the evaluation being defined so that terms, where this denominator vanishes, are omitted from the sum.
I think it's correct, but OTOH, the test case probably don't test this.