Comments not lining up

It appears that the code that I posted earlier has the unfortunate side effect that comments are associated with the wrong articles. I’m not entirely clear on how this happened, but it looks like I have a lot of work ahead of me to make them line up again. I’ll look at this in more detail tomorrow and try to supply another patch that will generate export files that line up correctly. :-(