Now it prevens cyclic flips and addresses #283

I confirmed that it shows only once.