Polyline deleted logic add.