This was the cause for ticket #93, which actually has a false conclusion for the reason of this bug. This code needs to be refactored.