fix(equals): consider 'unkown' COM objects equal

In Internet Explorer, objects at the other end of the COM bridge have type
'unkown'. This patches makes equals() consider these objects equal to each
other.

Closes #4138