Fix fixup_links which was horribly broken by the previous change (#41).