Endless Expanding Circles Material

Having an issue with the If node,

no matter what I put in the main param ChaseMode, I still get the A<B input as a result

maybe I missed some detail?