Fixed if statement typo