Open the BP_PlayerInventory then open the SwapAttachments function and tick on the RemoveAll option on the highlighted nodes shown in the image below.