Fix lane deletion when there are dependent lanes.