Fixed if condition.