Fixed duplicate bug in UserCommunityAffinity