Deleted files doesn't update properly

Problem description:
I accidentally add file “vite.config.js” into a “dist” folder, then i deleted it, when I tried to create it again in a root folder the app showed me a sign that i already have this file. I deleted a “dist” folder and nothing changed. the search shows that the “vite.config.js” exists in a “dist” folder. reload didn’t help.

Expected behavior:
the file “vite.config.js” deletes and I can create it again.

Actual behavior:
the file “vite.config.js” disappears from the files block but still visible in a search and i can’t create it again.

Bug appears at this link:

Mozilla Firefox, Fedora Linux, Sway WM