Added nest depth limit to expressions.