Notes missing from tag list but still found in Quick Search

I noticed that the missing notes reappear in the web version if I make any change to them in the desktop or mobile app.

Do you think that exporting and restoring a backup should fix this? Or would you suggest trying another approach?

I’m seeing some strange behavior in Bear Web (also Attachment metadata is visible in the web app), and since I have a lot of notes, I’m worried that something might be broken.