Clean up undefined index on user edit page.  

#2692