Fix the logical operator check