Fixes #1214. Regression: for...in trips on curly braces