revise ValidLogicalOperatorsSniff