Increase accuracy by collecting the namespaces as the snapshot is generated instead of trying to find all the necessary namespaces beforehand.