Catch evaluation error with undefined symbol
Disable calling sympy methods for Expr