fixed possible null accession geography id error, and the resulting row that may not be found.