CAAERS-7073 fix error in merge organizations