Extension for using FilterHits with BuildFilter()