[Bug 8667] Number of subitems in treeview keeps increasing