Revert "Fix longstanding logic error in moving footnotes"

This reverts commit cc46ef2cd80459a04fd07282af0666afa937903b.