Fix two bugs with Parsing expressions
Fix a crash when an error expression contained the string "id"