Try and clean up cycle detection output a bit