Fixed a bug where the (directory) iterator over the root children was not initialized correctly