I’m not sure what to offer. You logic look great, good job.
What I can offer is my experience. You logic works as tested. I’m not familiar with all the motion sensors out there and can not offer any advice as to the other units time outs. I can however offer up that perhap your motion sensor has a timeout cycle of more than 1 minute or so. What is the motion sensor you are using? some have time outs that can last as long as 4 minutes. Some you can tweak their settings inside them to change this cycle to seconds. If that is the case, then check out this thread for an idea of what can be done with certain motion sensors.