Fix if statement condition.