Here: https://github.com/grapoza/vue-tree/blob/master/src/composables/selection/treeViewSelection.js#L105
The comparison is hardcoded to use the "id" property rather than the one that was configured to be used instead. Thus, the "old" selection is never removed.