Fixes #2839: Group node of another collapsed group is correctly restored now.