Added the ability for custom filters to cancel a query and return an empty result set if the filter knows there will be no valid results.