fix bug that was erasing peoples' team affiliations