Add proper return value for flushFilters()