Implemented Logical Or and Logical And emitting.