 				if item.fcpxRef == resource.fcpxID { // Found regular clip
 					matchingItems.append(item)
 					
-					print("Matching asset clip found: \(item.fcpxName)")
+					print("Matching asset clip found: \(item.fcpxName ?? "unnamed element")")
 				}
 				
 			case .clip:  // Check for matching regular clips

								
								if syncedClipChildElement.fcpxRef == resource.fcpxID {
									
									print("Matching synchronized clip found: \(item.attribute(forName: "name")?.stringValue)")
									matchingItems.append(item)
								}
							}

								
								if spineClipChildElement.fcpxRef == resource.fcpxID {
									
									print("Matching synchronized clip found: \(item.fcpxName ?? "unnamed element")")
									matchingItems.append(item)
								}
							}
