Reactor running the wrong set of Activities

Reactor is initiating the wrong set of Actions when testing a variable.
I need to test a device variable for a value greater than zero, and use Reactor to initiate a set of Actions, depending on whether the result is true or false.
To test the Reactor, I use a MultiString variable, “Misc info, variable 4” to simulate the device variable, and test if its value is above zero. I use actions under Reactor Activities to set 2 Switchboard Plugin virtual devices, “Charging” and “Not Charging”, to show the result.
If the test is TRUE (i.e. the tested level is above zero), “Charging” is switched on.
If the test is FALSE (i.e. the tested level is zero), “Not Charging” is switched on.
What I find is that the Activity for TRUE is run in both cases, whether the result is TRUE or FALSE.
Can anyone spot what I’ve done wrong?
The Logic Summary output is below:

*************************************************** REACTOR LOGIC SUMMARY REPORT ***************************************************
   Version: 3.8-20262 config 20190 cdata 20045 ui 20190 pluginDevice 285 LuaXP not loaded
    System: Vera version 1.7.5186 (7.31) on Sercomm G450 ID 36 (Vera Plus); loadtime 1754657412/1754657430; systemReady 1754657435
       Env: Lua 5.1; JSON dkjson 1.2; UnsafeLua=nil/true
Local time: 2025-08-08T16:09:35+0100; DST=1; Royston, England United Kingdom; formats %d/%m/%Y %H:%M:%S
House mode: plugin 1; system 1; tracking off
  Sun data: { "source": "int", "civdawn": 1754625065, "nautdawn": 1754621695, "sunset": 1754682603, "nautdusk": 1754688481, "stamp": 2025220, "latitude": 53.6, "astrodusk": 1754693250, "longitude": -1.45, "civdusk": 1754685111, "astrodawn": 1754616926, "sunrise": 1754627573 }
  Geofence: not running
        RS: 1754588951,1754643326,1754643372,1754643457,1754643525,1754655498,1754655624,1754656289,1754657350,1754657430
        NS: 1752532920:D,1752574020:U,1753752485:D,1753754040:U,1753839720:D,1753840080:U,1754007480:D,1754007660:U,1754034245:D,1754034480:U
************************************************************************************************************************************
2 Test for current (#534) armed
    Version 20045.13 08/08/25 16:07:43
    Message/status: Not tripped
    Condition group "Charger drawing power" (AND)  false as of 16:04:22 <root>
      &-F-service Misc info (219) urn:upnp-org:serviceId:VContainer1/Variable4 > 0 [0.00 => 0 at 16:07:43; F/F as of 16:04:22/16:04:22] <cond0>
    Activity root.false
        Device NOT charging (531) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
    Activity root.true
        Device Charging (526) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
    Events
        2025-08-08 13:55:51: Starting "root.false" group 1
        2025-08-08 13:55:51: Activity "root.false" finished
        2025-08-08 13:55:51: Stopping activity "root.false"
        2025-08-08 13:56:36: { dev=534, action="RunScene", options={ stopPriorScenes=false, forceReactorScenes=true, contextDevice=534 }, sceneId="root.true", event="action", scene="root.true" }
        2025-08-08 13:56:36: Launching scene/activity root.true
        2025-08-08 13:56:36: Starting "root.true" group 1
        2025-08-08 13:56:36: Activity "root.true" finished
        2025-08-08 13:56:36: Stopping activity "root.true"
        2025-08-08 13:57:29: Configuration changed!
        2025-08-08 13:57:29: Sensor update starting
        2025-08-08 13:57:29: Condition cond0 test state changed from false to true
        2025-08-08 13:57:29: Condition cond0 evaluation state changed from false to true
        2025-08-08 13:57:29: Group Charger drawing power test state changed from false to true
        2025-08-08 13:57:29: Group Charger drawing power evaluation state changed from false to true
        2025-08-08 13:57:29: Preparing Charger drawing power.true (root.true) activity
        2025-08-08 13:57:29: Launching scene/activity root.true
        2025-08-08 13:57:30: Starting "root.true" group 1
        2025-08-08 13:57:30: Activity "root.true" finished
        2025-08-08 13:57:30: Stopping activity "root.true"
        2025-08-08 13:57:30: Changing RS tripped state to true
        2025-08-08 13:57:30: Sensor update completed; 0.040s
        2025-08-08 13:57:59: { dev=534, action="RunScene", options={ stopPriorScenes=false, forceReactorScenes=true, contextDevice=534 }, sceneId="root.true", event="action", scene="root.true" }
        2025-08-08 13:57:59: Launching scene/activity root.true
        2025-08-08 13:57:59: Starting "root.true" group 1
        2025-08-08 13:57:59: Activity "root.true" finished
        2025-08-08 13:57:59: Stopping activity "root.true"
        2025-08-08 14:01:17: Configuration changed!
        2025-08-08 14:01:17: Sensor update starting
        2025-08-08 14:01:17: Sensor update completed; 0.027s
        2025-08-08 14:01:37: { dev=534, action="RunScene", options={ stopPriorScenes=false, forceReactorScenes=true, contextDevice=534 }, sceneId="root.true", event="action", scene="root.true" }
        2025-08-08 14:01:37: Launching scene/activity root.true
        2025-08-08 14:01:37: Starting "root.true" group 1
        2025-08-08 14:01:37: Activity "root.true" finished
        2025-08-08 14:01:37: Stopping activity "root.true"
        2025-08-08 15:29:47: Configuration changed!
        2025-08-08 15:29:47: Sensor update starting
        2025-08-08 15:29:47: Condition cond0 test state changed from true to false
        2025-08-08 15:29:47: Condition cond0 evaluation state changed from true to false
        2025-08-08 15:29:47: Group Charger drawing power test state changed from true to false
        2025-08-08 15:29:47: Group Charger drawing power evaluation state changed from true to false
        2025-08-08 15:29:47: Preparing Charger drawing power.false (root.false) activity
        2025-08-08 15:29:47: Launching scene/activity root.false
        2025-08-08 15:29:47: Starting "root.false" group 1
        2025-08-08 15:29:47: Activity "root.false" finished
        2025-08-08 15:29:47: Stopping activity "root.false"
        2025-08-08 15:29:47: Changing RS tripped state to false
        2025-08-08 15:29:47: Sensor update completed; 0.085s
        2025-08-08 15:35:42: Configuration changed!
        2025-08-08 15:35:42: Sensor update starting
        2025-08-08 15:35:42: Sensor update completed; 0.021s
        2025-08-08 15:37:05: Configuration changed!
        2025-08-08 15:37:05: Sensor update starting
        2025-08-08 15:37:05: Sensor update completed; 0.021s
        2025-08-08 16:03:21: { dev=534, action="RunScene", options={ stopPriorScenes=false, forceReactorScenes=true, contextDevice=534 }, sceneId="root.true", event="action", scene="root.true" }
        2025-08-08 16:03:21: Launching scene/activity root.true
        2025-08-08 16:03:21: Starting "root.true" group 1
        2025-08-08 16:03:21: Activity "root.true" finished
        2025-08-08 16:03:21: Stopping activity "root.true"
        2025-08-08 16:03:46: Device Misc info (#219) urn:upnp-org:serviceId:VContainer1/Variable4 changed from "0" to "5"
        2025-08-08 16:03:46: Sensor update starting
        2025-08-08 16:03:46: Condition cond0 test state changed from false to true
        2025-08-08 16:03:46: Condition cond0 evaluation state changed from false to true
        2025-08-08 16:03:46: Group Charger drawing power test state changed from false to true
        2025-08-08 16:03:46: Group Charger drawing power evaluation state changed from false to true
        2025-08-08 16:03:46: Preparing Charger drawing power.true (root.true) activity
        2025-08-08 16:03:46: Launching scene/activity root.true
        2025-08-08 16:03:46: Starting "root.true" group 1
        2025-08-08 16:03:46: Activity "root.true" finished
        2025-08-08 16:03:46: Stopping activity "root.true"
        2025-08-08 16:03:46: Changing RS tripped state to true
        2025-08-08 16:03:46: Sensor update completed; 0.073s
        2025-08-08 16:04:00: { dev=534, action="RunScene", options={ stopPriorScenes=false, forceReactorScenes=true, contextDevice=534 }, sceneId="root.true", event="action", scene="root.true" }
        2025-08-08 16:04:00: Launching scene/activity root.true
        2025-08-08 16:04:00: Starting "root.true" group 1
        2025-08-08 16:04:00: Activity "root.true" finished
        2025-08-08 16:04:00: Stopping activity "root.true"
        2025-08-08 16:04:22: Device Misc info (#219) urn:upnp-org:serviceId:VContainer1/Variable4 changed from "5" to "0"
        2025-08-08 16:04:22: Sensor update starting
        2025-08-08 16:04:22: Condition cond0 test state changed from true to false
        2025-08-08 16:04:22: Condition cond0 evaluation state changed from true to false
        2025-08-08 16:04:22: Group Charger drawing power test state changed from true to false
        2025-08-08 16:04:22: Group Charger drawing power evaluation state changed from true to false
        2025-08-08 16:04:22: Preparing Charger drawing power.false (root.false) activity
        2025-08-08 16:04:22: Launching scene/activity root.false
        2025-08-08 16:04:22: Starting "root.false" group 1
        2025-08-08 16:04:22: Activity "root.false" finished
        2025-08-08 16:04:22: Stopping activity "root.false"
        2025-08-08 16:04:22: Changing RS tripped state to false
        2025-08-08 16:04:22: Sensor update completed; 0.070s
        2025-08-08 16:05:48: Configuration changed!
        2025-08-08 16:05:48: Sensor update starting
        2025-08-08 16:05:48: Sensor update completed; 0.008s
        2025-08-08 16:06:39: { dev=534, action="RunScene", options={ stopPriorScenes=false, forceReactorScenes=true, contextDevice=534 }, sceneId="root.true", event="action", scene="root.true" }
        2025-08-08 16:06:39: Launching scene/activity root.true
        2025-08-08 16:06:39: Starting "root.true" group 1
        2025-08-08 16:06:39: Activity "root.true" finished
        2025-08-08 16:06:39: Stopping activity "root.true"
        2025-08-08 16:07:43: Configuration changed!
        2025-08-08 16:07:43: Sensor update starting
        2025-08-08 16:07:43: Sensor update completed; 0.012s
    Devices
        Misc info (219) urn:schemas-upnp-org:device:VContainer:1 (0/-1); parent 0; plugin 8231; mfg  model ; dev D_MString.xml impl I_MString.xml
        Switchboard Plugin (8) urn:schemas-toggledbits-com:device:Switchboard:1 (1/-1); parent 0; plugin 9194; mfg  model ; dev D_Switchboard1.xml impl I_Switchboard1.xml
        Charging (526) urn:schemas-upnp-org:device:BinaryLight:1 (3/1); parent 8; plugin -; mfg rigpapa model Switchboard Virtual Binary Switch; dev D_BinaryLight1.xml impl 
        NOT charging (531) urn:schemas-upnp-org:device:BinaryLight:1 (3/1); parent 8; plugin -; mfg rigpapa model Switchboard Virtual Binary Switch; dev D_BinaryLight1.xml impl 
    Watches
        Device #534 2 Test for current service urn:toggledbits-com:serviceId:ReactorSensor variable TestTime
        Device #534 2 Test for current service urn:toggledbits-com:serviceId:ReactorSensor variable cdata
        Device #534 2 Test for current service urn:toggledbits-com:serviceId:ReactorSensor variable TestHouseMode
        Device #517 EV Charger service urn:micasaverde-com:serviceId:EnergyMetering1 variable Amps
        Device #219 Misc info service urn:upnp-org:serviceId:VContainer1 variable Variable4

You can see in the recorded events that it is not, in fact, only running the true action.

What I think might be confusing you is that both actions turn a switch on, but neither action turns a switch off. Wouldn’t make sense that if you are turning the “Charging” switch on, you would also turn the “Not Charging” switch off, and vice versa? The way you have this set up, both switches will eventually be on at the same time, showing your device charging and not charging at the same time. So that seems to be a logic error. Is there a reason you are using two switches, and not just using one switch with its on state representing charging, and off representing not charging?