Problem with setting the condition

delay could be the solution here?

Did you try it?

Yes, and it works as it should
https://gyazo.com/a99bdfe9f06457f30a50248d5318d353