If we should think about changing something in the system, let me know.
Interestingly, this is the flip side of the bug that's been reported elsewhere: There's a pending merge of A and B, then B is merged is into C, then the pending merge of A and B is left hanging.
We corrected this so that the pending merge database is updated when either profile is merged. So, now if there's a pending merge of A and B, then B is merged into C, there's now a pending merge of A and C.
Basic transitive property, you'd think. If A = B and B = C then A = C.