Use the correct iterator function for an OrderedDict.