Dynamic scenes creating multiples

Hi, I thought dynamic scenes were supposed to overwrite the old one, but I’m getting multiple creations. See image. Do you all see anything I’m doing wrong? intermittently, the scene will not be recalled correctly and I’m wondering if it’s because it’s calling the wrong one of these.

I’m using an automation to change my driveway lights when someone comes home here:

if:
  - condition: state
    entity_id: input_boolean.driveway_don_t_change_yet
    state: "off"
then:
  - service: input_boolean.turn_on
    data: {}
    target:
      entity_id: input_boolean.driveway_don_t_change_yet
  - service: scene.create
    data:
      scene_id: before1
      snapshot_entities:
        - light.driveway1left_ledvance_a19_rgbw_light
        - light.driveway2center_ledvance_a19_rgbw_sylv_light
        - light.driveway_right_ledvance_light
  - delay:
      hours: 0
      minutes: 0
      seconds: 2
      milliseconds: 0
  - if:
      - condition: state
        entity_id: binary_sensor.opengarage1_vehicle
        state: "on"
        for:
          hours: 0
          minutes: 1
          seconds: 0
    then:
      - service: scene.turn_on
        target:
          entity_id: scene.left_spot_green
        metadata: {}
  - if:
      - condition: state
        entity_id: binary_sensor.opengarage2_vehicle
        state: "on"
        for:
          hours: 0
          minutes: 1
          seconds: 0
    then:
      - service: scene.turn_on
        target:
          entity_id: scene.right_spot_green
        metadata: {}
  - delay:
      hours: 0
      minutes: 2
      seconds: 0
      milliseconds: 0
  - service: scene.turn_on
    data: {}
    target:
      entity_id: scene.before1
  - service: input_boolean.turn_off
    data: {}
    target:
      entity_id: input_boolean.driveway_don_t_change_yet

Try it with else:

else:
  - service: scene.turn_on
    data: {}
    target:
      entity_id: scene.before1
  - service: input_boolean.turn_off
    data: {}
    target:
      entity_id: input_boolean.driveway_don_t_change_yet

That section is not an else scenario though. It has to happen. What I’m trying to do is say this:

If the driveway don’t change switch is not on, turn it on
then take a scene snapshot
if spot 1 is occupied, turn on the corresponding green light for that spot
if spot 2 is occupied, turn on the corresponding green light for that spot
wait one minute, the restore the snapshot

No matter what I try, the snapshot is not always being restored correctly. I ultimately end up with one or two green lights on all night instead of white lights or whatever light mixture I have set. Currently I have it set to team colors, so I end up with one orange light and one or two green lights, instead of 2 orange and a blue. Any other ideas?