parse nested sub-undone in done and keep topmost done item