Fixed parsing of duplicate dihedral angles