Images indexed to wrong patient

Hello, I have a problem with two orthanc installations (both using postgres if that’s related): some images are being associated with the wrong patient.

Attached is a screenshot showing the problem (see dicom patientname tag is different from the one in the explorer UI).

It’s a problem on my images or a bug in orthanc ? I can provide a sample file if needed.

Thanks for your help

Screen Shot 2018-03-05 at 13.08.31.png

Sorry, I found out that the problem is with images without PatientId and that’s how Orthanc is supposed to work.

I’ll look into how to sanitize this data.