Incorrect boolean check.