Go to the BP_PlayerInventory and in the Unequip Weapon function copy the video below.

Add the highlighted nodes shown in the images below, locations at the tops of the images.