Fix iconClass and childrenCount on add/delete.