Attachment metadata is visible in the web app

Update: newly created notes don’t have this problem. I’m wondering if it could be related to this other issue: Data loss: renaming tags via MCP corrupts locked notes (attachments deleted).

Any ideas on how to fix the existing notes without restoring a backup?