Use correct iterator for an OrderedDict

Attempting to "print(DIE)" fails without this change.