Added a manual check of uniqueness for the source_id