Change SampleFilter to work with reservoir_sampler.