Fixes issues around pulling in the next line in simple if statements.