Bug fix: no warning for redundant '{}' in foreach statement.