Attaching items in game, then detaching them... Better way to do it? 2nd item wont detach

I have some objects (armor) scattered around the map. When player is level 1 they can only pick up level 1 armor. When the armor is worn out it is detached from the player in the shot below. Then they are level 2 and can pick up level 2 armor and so on.

The first item works great. The second and third will attach, but when the armor expires they won’t detach.

I assume it’s because the cool down (Or H key) are triggering detachment of all the items once? Then won’t work again?

Any ideas to simplify this, can I check which item is attached and only detach it?

Quick update :

I got it to work as intended, player drops attachment based on timer running out AND the shell being correct size.

There will only be like 10-20 levels in game, so it’s not huge, but is this a bad way to do it?

Basically I have to give each item level a new branch. It seems like it would do a quick check on the current level and stop calculations beyond that, but not sure.