Fix error with bad footnotes