Fixed some bugs in user edit_company/person