Fix filtering for holes.

We should use the inverted area to determine whether to filter holes, since
we’re trying to measure the area of the hole, not that area around the hole. But
note that it’s still faster to check the exterior ring first before checking any
interior rings.