Fix an issue causing duplicate backlinks to be generated
Actually, it caused a lot of issues, but that was a big one.