Fix export/import by URL feature to avoid duplicates