Fixed party affiliation bug