Fixed typo in else condition