rightTuple = modifyPreviousTuples.peekRightTuple();
}
if (rightTuple != null && ((BetaNode) rightTuple.getRightTupleSink()).getRightInputOtnId().equals(betaNode.getRightInputOtnId())) {
modifyPreviousTuples.removeRightTuple();
rightTuple.reAdd();
if (rightTuple.getStagedType() != LeftTuple.INSERT) {
// things staged as inserts, are left as inserts and use the pctx associated from the time of insertion
rightTuple.setPropagationContext(context);
}
if (intersect(context.getModificationMask(), betaNode.getRightInferredMask())) {