Revised setting the filter attributes.