[LCG] Switch a weird do/while loop that actually couldn't fail its