add selectedUid to getAffiliatesWithChanges