Specialize LOGICAL_AND/OR.