Scene affected by Device Action

Was not sure how to search for this issue, so…

I have a scene that turns on under cabinet lighting in my kitchen for example at the same time relative to sunrise each day and off again after a fixed amount of time. Runs every day with no issues, except if I happen to turn the lights on earlier for example, then the off portion of the scene does not turn the lights off. ALso If I turn one of the lights off and on again in between the scene running, the off command will not trigger for that light, but all others work. Seems strange as the scene should execute the commands regardless of what has gone on prior or during the scene time.

Anyone else have this issue?

Don’t know if it matters, but is this a single scene, or two separate scenes?