Fix When a node loop over itself simple_cycles only returns one node