Add the highlighted node shown in the image below, location at the top of the screenshot.

Next go to the location shown below and make you code look like the image below. You just need to connect the false pins from the branch nodes to the Destroy Actor nodes and copy the Resource Wood variable from any of the ones already in the function paste it near the return nodes and connect the green pin to the return nodes.