Fix bug in imposing ph symmetry