The problem has been that I (at least) haven't been able to reproduce the bug, and haven't found what could be causing it.
A proposed patch was just posted for bug 4546 (which I also can't reproduce). I'll review that code change. If it makes sense, I'll check it in, and that may help your problem as well.
