Photo's still showing previews after adding .nomedia to hide folder

I’m trying to clean up the photo’s section. When browsing folders that I’m trying to exclude from photo’s, I created a .nomdia in all those folders. I did this by browsing files within Nextcloud, create a new folder, and named it .nomedia. When I click on, “Your Folders” within Photo’s, I no longer see folders, but there are still a bunch of previews.

Any idea how I can clear this?