Autofill options in Safari are the previous website

I have a problem where bit warden suggests logins for the previous page that I visited and not the one I’m currently on. Running this on a Mac using Safari v17.4.1. Does anyone have a fix for this? For an explanation, read on.

For example: I visit business A’s site and log in using the bit warden extension. I then log out of that site and go to business B in the same browser tab. When I click on the user name and password fields the options provided to me are still business A’s. If I click to another tab and then come back to business B’s tab then bit warden gets it right. It’s annoying behavior and has been occurring for me with multiple versions of Safari and MacOS. Thanks for any advice.