fix search in tree view for collection