Bugfix: fix bug when loading/saving non-existent hierarchies