Bugfix for LINESTRING