Flashlight should stops AI movement, then resume movement when flashlight isn't shining on them

Trace by Object Type works!!!
However as you can see in this gif below. The AI doesn’t resume after being flashed on. It actually seems to only care once I turn the light on or off function. Not the actual light itself. Wondering if I made a mistake in the flashlight?
Gif link Imgur: The magic of the Internet

You can see my blueprint for flashlight above. But i posted snippets here too!