Filter out holes in borders