Change how the Nearest test filter works in order to avoid some false positives.