The "Put" event handler gives the wrong container when moving an item from a weapon attachment slot. The container should be where it was actually placed, not where it came from.
For example, if the player moves his weapon sight into his uniform, the returned container should be equal to "uniformContainer player".