Forgot to negate a if statement