Fixed typo if conditional statement