Multigate - How to keep select last output at the very end?

How do you make sure that at the end of reaching the multigate, that the last out put 2(in the pic) is only selected from now on?

turn off looping