Modify delete-nodes-in-range in more near code.