Fixed adding links from legacy XML data