Fixing the sourceSegmentDelAll and destinationSegmentDelAll methods in Location