Fix logic error in logical_or. (See what I did there?)

logical_or should NOT be implemented as (A || (B && C && ... && Z)).