JAL-2051 better checking of retrieved / duplicated accession ids