Fixed node_type_delete() issue.