Apply purity filter settings to categories