Fixed a bug occurring when recreating miniarchives.