Fix LineString constraints