Simply, the only way you can directly exclude the weapon from “get overlapping actors” is by changing the collision of the weapon itself to ignore the collision with that actor.
Another way is with a variable that holds the weapon and using a branch to check if the overlapped actor is the same (equals ==) as the weapon