Rather than swapping the activities across True and False, you can negate your expression with a NOT function. That should take care of the swap scenario that you are expecting