Changed the variable in the else conditional.