fix #10725 by adjusting lookup in original file map

In testing, check that https://trac.openmicroscopy.org.uk/ome/ticket/10725 is fixed but also that https://trac.openmicroscopy.org.uk/ome/ticket/10602 remains fixed.