AI Selector Node does not work

Hello, I’m trying to make a simple behaviour tree that will check if the AI can see an object of interest and move towards it’s location if seen. However I have an issue where in which my AI selector node will not execute the second branch if it cannot see an object of interest and I don’t understand why it is failing. I have the behaviour tree and relevant scripts below. The only issue that I could see affecting this tree is that I have a spawning function that takes an NPC and a behaviour tree, meaning the behaviour tree is not set to the AI by default.

AI Spawning function

Behaviour Tree (Right Side works when selector is not included)

AI Perception Script