@Torror-Stricken
I've had that happen when I mistakenly moved identified fruit from a sim who had identified it already to one that hadn't. But like @simsplayer818 said, you have to go through the stack to find the one or two that are unidentified. Or you could just dump them all in a chest or move them to another sim that has identified everything and send the sim that hasn't back out to harvest the unidentified plants again. Even with sims who have already identified the fruit, they will still show up in the sim inventory as unidentified and the sim will have to identify them again. You shouldn't have to use a cheat for the milestone.
If you have Cottage Living, I've found that I can buy 9 of the 10 OR plants at the grocery and gardening stalls. So, by the time I get a household to go to Granite Falls, I have grown the plants in my garden and have a lot of them saved. I carry them with me when I go on vacation, so I have enough for all the sims in the household to work on the Herbalism skill when they get to the last tier milestone to max Herbalism. I place a BG storage chest on my rental lot beforehand, so I have a place to keep the fruit I brought with me separate from the unidentified plants and only pull them out once all the sims in the group have gotten through the identify 10 unidentified plants milestone. Makes life a little easier for me working on the aspiration. So, you can have plants identified beforehand and still complete that milestone. All you need to do is collect fruit from the unidentified plants out in the GF world zones.
Hope this helps.