Selection of AbstractTreeItem doesn't work

While I was fixing logic in Wait condition used in tree item selection I forgot to apply it on deprecated AbstractTreeItem as well. It is fixed now