Don't mix boolean operator types