[TIMOB-16692] Fixed bug where objects in the InstanceRegistry weren't be...

... compared correctly.