Fixed problem with segmentation faults in RTM_DELETE.