Can you post the following (redacted as needed):
The raw JSON for the two users you are trying to merge.
The API call for the link? (You can put a console.log in the linking rule and use the realtime webtask logs extension to see the output)
Thanks
John