rank_filter.hxx: Use prev_value instead of *prev_iter.