ModelBase.Equals fix to prevent exceptions during equal checks because of the Microsoft implementation of EqualityComparer (which does throw exceptions against their own guidelines)