more fixes to trayscandump file and debug case of exactly identical
dates

turns out the identical dates are from different trays, so should be
fine through the current workflow.