Branching help - Endless loops

Hi !

Actually there were a mistake in one of the gain, it was miswritten.
But you also were right, flags were already selected and weren’t cleared that’s why was looping over and over.

Thanks for your help !