Fixing custom filter.