Check for valid names in name_new.