Fix if condition.