Fix custom filter