Fixed handling of multicomponent systems when specie == 0 or 2.