There was another user who had issues with a plug when the times were in two different days. Theoretically it shouldn’t matter and you would have to start with it On, but if it isn’t working try this:
Disable or delete rule #1 and add two more, one for on and one for off.