Minor optimisation in filter component