Delete nodes is not allowed when there are some collapsed nodes