Removes keychain duplicates before saving