add filter conditions for sets