[TIMOB-16692] Fixed bug where objects in the InstanceRegistry weren't be compared correctly.
Merge pull request #5520 from cb1kenobi/timob-16692_3_2_X_hybrid

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