a quicker way is Tools/ Tagging Tools/ Files to edit/ Show dead links and then remove them
I had this same issue with dead links after merging two folders and this fixed it for me:
Tools > Advanced > Rescan All Files
Tools > Tagging Tools > Other "Files to Edit" Filters > Show Dead Links
just Shift select them all and hit Del...