Fixes networkx/networkx#966 typo in simple_cycles.