Yanfly's Learn skill and Kread-Ex's skill upgrade problem.

I am currently making a game trying to use both Yanfly's learn skill engine to let the player choose whatever skill they want in the order they want, in addition with Kread-Ex's skill upgrade to let the player increase the strenght of a skill they already have to keep a character stronger through the game without needing to have 50 billions alternate versions of that one skill.

But i encountered an issue which causes game breaking problems.

One of the features of Kread-Ex's script is that if a skill reaches a certain level, you can upgrade it to another skill. Which is cool.  But problem is, Yanfly's learning skill concider that you don't have the previous version of that skill anymore, and allows you to buy it again, thus creating a replicate of that skill, which is a serious bummer.

Do you guys think there could be a way or a line of script that could fix that issue? (That would be really nice since i'm not really good with scripting to be honnest  :| )

(and i would give credit to whoever managed to fix it)
-bump?-
i have this problem too!
Can anyone fix this?

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-learn-skill-and-kread-exs-skill-upgrade-problem.50409/