Fix logical $or operation.
Fix logical $and operation.