FIXED BUG in get_db_graph_info, was not dealing well with the case of chaincode being NULL in the database