fixed horizon problem

There were times when a cycle could form due to cliques only knowing
their immediate neighbors.