Besides the else not triggering ur flows are not correct.
Best start a timer when motion went off.
Someone made a nice topic about it alr.
When timer is empty ur motion sensor is alr off, otherwise it should have triggered a renew of the timer so a check in the AND part is not needed.