Fixed double-rendering of footnotes in RST tables.

Closes #1769.