Fixed bug when trying to create a new archive.