Fix the subsampler next_sample implementation.