Error in conditional send automation


I am running into a strange problem when trying to conditionally send a notification in an automation. I want to use data in the automation runtime cache to determine if the notification should be sent or not. When I try something such as "if": "false === false" I get the expected behaviour. When I try "if": " === bar" it does not work. I have included a screenshot of the error I get in the logs tab. I also have a screenshot of the automation step but I can’t include it as I am a new user?

Please let me know what other information might be helpful or what else I can try.

Thank you,