Handle edge cases when updating [link]s
Merge pull request #687 from Connexions/fix-link-manipulator

Handle edge cases when updating [link]s