Fix parsing bug in AlgebraicParticle