Fix a SEGFAULT introduced by the new sample graph code...