Flag synonym chain and cycle issues