Malformed if statement