Forgot to negate

Now the condition should be correct.