Implemented specific operand evaluation rules for the "and" and "or" operators