Fix to handle bounding box specified as a LINESTRING.