Fixed a merger service and found a bug in relation identification