fix contact editing through edit/cust_main.cgi, originally from #23741?