Hi,
I have noticed that indice aipfiles is not updated after removing some records. See example of one packet below.
Here is a capture or two records from aipfile indice of ES :

And below a csv extract from the database:

Files from the package named with the prefix KEHREN_OBERSON_ARCHNUMFR_6932 have been removed a long time ago
(Status is DELETED in the data base) but when the current querry from elastic search shows the status as UPLOADED.
It seems that ES indice has been updated since packet removal.
Is it a bug you can reproduce ?
Thank for your help. Let me know if I need to create an issue in github.
Cheers,
Romain