inside.getElementName().setParent(null);
inside.setElementName(null);
List<ElementSubsequent> lfSubsequent = cutOff.getSubsequent();
List<ElementSubsequent> insideSubsequent = inside.getSubsequent();
MatchMarker<ElementSubsequent> match = listsComparator.prefixMatches(lfSubsequent, insideSubsequent, elementSubsequentComparator);
SimpleSelector result = removeMatch(inside, insideSubsequent, match);
//check if the whole thing was eaten up - we know that subsequent elements are always compared in whole
return isEmpty(result) ? null : result;
}