Fix crash when trying to convert StringType to PointType