Well, you don’t have to use the link of course. If you see it opens the wrong account you can still switch to the other one and do a manual search like you’d normally.
That said, it would be if there was a way to open the right inbox based on the email address. (e.g. add a ?email=… parameter to the URL and Gmail would automatically open the corresponding inbox).