TYPO Fix poorly formed if statement