fixes #2644
fix tests
Merge pull request #2669 from digi604/fix-2644

fixes #2644 (title delete marks descendants as pending)