Fix filtering of small polygons with holes.

(Or, the unusual case of Bora Bora.) When filtering polygons, the old implementation could filter the exterior ring of a polygon but keep its interior rings, thus promoting the first interior ring to the exterior!