You are right. I added a regression test and fixed the problem in c3903a2.