bugfix merge for double selection.
improved addUnmatchedParents to also reflect selection.