SYMPTOM:
Error "The depth of the expression tree 200 is larger than the max depth 200 allowed." is received when creating a security filter in Command Manager 9.4.1.

(The depth of the expression tree 200 is larger than the max depth 200 allowed. Node cannot be deleted becaused it has 3 children, and ReplaceWithChild parameter was set to 'True'.)

CREATE SECURITY FILTER "xxx" DESCRIPTION "xxx" IN PROJECT "xxx" EXPRESSION “((Customer@ID=2 …)AND(Customer@ID=2 …)) AND ((Customer@ID=2 …) AND (Customer@ID=2 …))”;