Don't replace footnote if not defined. Fixes #31