Fix equality in OrderedSet.

This is biting us in a pants unittest.
Merge pull request #301 from benjyw/fix_orderedset_equality

Fix equality in OrderedSet.