changed function to sessiondb_delete_by_bib.