Select distinct ckan_id's to prevent duplicates being imported