remove person_organisational_affiliation and tidy external_uids