Add TryGetExpression, add error handling code to handle invalid ModelExpressions