Yes, I think so.
How have you removed those images from Metashape? Have you just deleted them or created a new project without those images.
I suppose it won’t be just 399-408 images, also the other ones, as you have quite big difference between names and orders (363 - 398.JPG)