Minor changes to delete order