 		let chunkProgress = Double(self.progressProcessImportChunk) * chunkPercentage
 
         for mission in DataMission.getAll(with: manager, alterFetchRequest: { fetchRequest in
-            fetchRequest.predicate = NSPredicate(format: "(inMissionId = nil)")
+//            fetchRequest.predicate = NSPredicate(format: "(inMissionId == nil)")
+            fetchRequest.predicate = NSPredicate(format: "(relatedEvents.@count > 0)")
         }) {
             self.applyInheritedEvents(
                 mission: mission,

	}

	func addData() {
		let progressTotal = progressFiles.map { $0.progress }.reduce(0.0, +)
			+ (progressProcessImportChunk * 2.0) + progressFinalPadding
		importDataFiles(progress: 0.0, progressTotal: progressTotal)
		processImportedData(


		fireProgress(progress: progressTotal, progressTotal: progressTotal)
	}
    
    func importFile(
        fileDefinition: CoreDataFileImport,
        markIdsImported: @escaping ((BaseDataFileImportType, [String]) -> Void),
        updateProgress: @escaping ((Double) -> Void)
    ) {
        let type = fileDefinition.type
        let filename = fileDefinition.filename
        let batchProgress = fileDefinition.progress
        do {
            if let file = Bundle.main.path(forResource: filename, ofType: "json") {
                let data = try Data(contentsOf: URL(fileURLWithPath: file))
                let ids = importData(data, with: manager)
                markIdsImported(type, ids)
            }
        } catch {
            // failure
            print("Failed to load file \(filename)")
        }
        updateProgress(batchProgress)
    }
    
	func processImportedMapData(
		queue: DispatchQueue,
		updateProgress: @escaping ((Double, Bool) -> Void)
