Setting orphan removal to allow deleted external identifiers to be deleted from database