assert(root != null);
AbstractPlanNode accessPlanTemp = root;
if (root instanceof ReceivePlanNode && !m_parsedSelect.m_mvFixInfo.needed()) {
// Temporarily strip send/receive pair
accessPlanTemp = root.getChild(0).getChild(0);
accessPlanTemp.clearParents();
root.getChild(0).unlinkChild(accessPlanTemp);
// Add new distinct node to each partition
AbstractPlanNode distinctNode = addDistinctNode(accessPlanTemp, expr);
// Add send/receive pair back