Added a check on accession found