Ensured backwards-compatible behavior for using ShouldAllBeEquivalentTo() on a dictionary.