Bug 4295: Fixed incorrectly introduced nodes when MERGE was followed by DELETE