Scene creation / playback not reliable in Zigbee

I create a scene of all the Philips Hue lights in a room when my present sensor determines the room is unoccupied for a scripted amount of time then set a boolean to enable the scene playback. When the room is re-entered and the boolean is set, the scene is run. The scene does run but often not all the lights are restored. If I go back and manually run the scene, I might get another light or two to restore but often not all of them are restored. Yet sometime later it all works fine. Put this under Zigbee since that’s what Philips uses. The scene in question is the setting of about 10-13 lights. Guessing I’ll have to figure out a workaround. Tried running the scene twice in the same automation but still not always seeing all the lights get restored. FWIW, I don’t see this kind of activity if with any other automation that controls the same lights. I have scripts that change all the lights at a particular time of day and that always works. Likewise telling Alexa never shows this partial processing. Not entirely sure if it’s a scene create or scene turn on or both. Leaning towards a scene turn on since if I run it manually, I will see a light or two restore.