Fix a bug when eliminating symmetry whith duplicated tiles.