Correct the inverted check

Typo when manually applying the previous commit.
1 file changed