Go to the BP_MasterRangeWeapon bp then to the Weapon Trace function. Select the Ignore Actors L and change it to an Actor array. Then add the highlighted nodes in the image below.