Better fix for not saving linked_identities (with specs)