UHM-994: scanning dossier should remove record from either archive queue