Correct doctest in find_cycle.