Reset ranks when the filter type changes