Ensure the if statement gets written if there is also an else statement.