fixes an issue where corporation_affiliation could return nothing