Fixed bounds problem (page fault) when importing or exporting and no nodes are defined (cfg.nodes==0)