Fix a small bug when comparing equality with the Amoeba dihedral type.