Support for filters containing OR clauses