Fixed problem when no accession is available.
Upgraded to 1.6.5