diff --git a/app/src/main/java/eu/darken/sdmse/corpsefinder/core/filter/SdcardCorpseFilter.kt b/app/src/main/java/eu/darken/sdmse/corpsefinder/core/filter/SdcardCorpseFilter.kt index 385d1e5b8..708485fc2 100644 --- a/app/src/main/java/eu/darken/sdmse/corpsefinder/core/filter/SdcardCorpseFilter.kt +++ b/app/src/main/java/eu/darken/sdmse/corpsefinder/core/filter/SdcardCorpseFilter.kt @@ -133,7 +133,7 @@ class SdcardCorpseFilter @Inject constructor( .filter { area -> // Only makes sense to process this nested marker if the parent actually exists val areaContent = topLevelContent[area]!! - areaContent.any { it.item.segments.isAncestorOf(marker.segments) } + areaContent.any { it.areaInfo.prefixFreeSegments.isAncestorOf(marker.segments) } } .map { determineNestedCandidates(it, marker) } .flatten()