fix externalLinks comparator (uri1 was compared to itself => always equal) and simpli...