Patch OrderedHash#each to avoid Ruby crash