Remove tree when no item of type available