Don't attempt to select items that are not in the item tree
Merge pull request #408 from aurimasv/dupFilter

Don't attempt to select items that are not in the item tree