Mauro Aranda <maurooaranda@gmail.com> writes:

> I attach a patch with three tests that demonstrate the bug.

And now I attach a patch to fix this, with the three tests updated.