Fixing bug in PlantSEED function