Possible bug in Motion and Mode Lighting App

I have the following rule:

I had the lights on that I did manually. The "Guest is Here Switch" is on. Someone closed the door on the bedroom and then opened it. When they opened it the lights went off. But it should be disabled due to the switch. Also the actual rule is currently paused!

So I'm really stumped as to why it fired at all and, yes, app:897 is the rule I showed above.

Tagging @bravenel, as he is the SME on this App.