Welcome to the Asana Community @anon97625738
This is not really a bug that is how the merge feature works.
You might consider moving one task to become a subtask of the other one to have all the info available. Otherwise a link is always added so you can quickly access the other one.
I have also found this feedback request thread for you to upvote: Merge Duplicate tasks - including custom fields and comments