Search string in "Login" should not carry over to "Card"

Currently, when searching for a site in “Login”, the search word is kept in the search field when switching the view to “Card”.

In my opinion the possibility that I have a credit card that matches what I just searched for in “Login” is very small. Thus, I have to clear the search every time. Would it be possibly to change this so that the search box is cleared?

I am aware this might be easier said than done, as it is probably meant to be a universal search bar. But still, I find this to be relevant, as I am often switching between these two tabs. Maybe an auto-clear of the search field when switching to cards would be a solution?