Thanks.  That all makes sense, but was quite non-obvious from reading the code.  Do you mind leaving a comment in the code explaining the reason for this?