Strange weapon issue

So I'm using a script to allow upgrading equipment but for some reason it keeps adding the Lv.4 version of a weapon to my inventory when I don't even pick it up and I start a new game when testing, what's going on?
This has nothing to do with Program and Utility Discussion - it needs to go into the forum for whichever maker you're using, which you haven't even told us. Nor have you told us what the script is. Please state what engine (we can no longer assume the one under a person's avatar is the one they're actually using) and give a link to the script. Also show a screenshot of the weapon so we can see how it's set up.

Original thread: https://forums.rpgmakerweb.com/threads/strange-weapon-issue.53400/