PLAT-4559 - Ignore UniqueId and ExternalIdBundle in security comparison