Logical operators fixes (CAST_BOOL)