Fixed issue #383: get_persistent_graph session cache is never used.