Added support for arrays created in different document for `_.isEqual`