Additional fixed for collapsed icon.

Additional fixed for collapsed icon, without children are removed.