Fix the thread on the tree view being given a graphic

Sometimes the top level thread cell in the tree view is given a bar icon. This seems to be a bug as there is no reason for it to have one.