This is an instance where I would welcome a patch that corrects the issue. Please include, in your patch, a brief comment on what is wrong with the behavior and what the expected, correct behavior will look like. Also, for my background, a simple test script would be helpful. This particular area is one I am not familiar enough with to feel comfortable addressing.