Behavior tree inverse condition - weird behavior

Hello,

I’ve thought I misunderstood how inverse condition works so I’ve created a simple decorator, which checks for a contents of a bool value.

I’ve placed two nodes from Selector node, which I’ve read should “proceed from left to right” until one of the child succeeds." As you can see, my PatrolMode is true so BTT proceeds first to the left, where it checks if EnemySeesDaniel is true. It’s false, so selector should proceed to the right where it should check if “EnemySeesDaniel” is false since I’ve checked the Inverse Condition “check box”.

However, this part of the tree is never getting executed.

I would appreciate any advice what am I missing here.

Thank you!

Nevermind, it was my mistake. BTT works as expected. I had wrongly marked Result variable as true.