fix 'OrderedDict' object has no attribute 'append' stack trace in _handle_iorder in case of syntax error
Merge pull request #8174 from regilero/develop

fix 'OrderedDict' object has no attribute 'append' stack trace in _handle_iorder in case of syntax error