Fix dihedrals removing condition in ZOpt.err