Fix #2190(filter): allow custom filter function with no term"
Merge pull request #2205 from PaulL1/2190_filter_update

Fix #2190(filter): allow custom filter function with no term"