Bug fixes for GeoJSON support.