Fix issue where link wasn't being inserted

Caused during rebase