Fixes to if statements outside of while loops with an elif block.