Are you not missing a `!` in this condition?