Logical binaries operation require an explicit cast