I'm sorry, I should have been more clear. I didn't actually use your code since I have some hacks to the templates on the topic page. I did a diff on the two sections of code you referenced and applied the differences to my template. It did exactly what it was supposed to do to the table.
Your hack basically removes one "tr", one "td" and an opening and closing set of "table" tags.
I'm just curious as to how changing that structure could have such an effect on the anchor hack.