Fixed bug in 2-torsion and flags are relabeled