Properly detect issue references when already linked.