Fix doctor bug in NameEdit.