>> If so, how about adding a test for this bug? > > I'll see if I can do that, but it seems tricky. > Here you go. Without the patch tests 2 and 3 fail, with the patch all three tests pass.