diff --git a/Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonAttributeSearchResults.java b/Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonAttributeSearchResults.java index 2dd2b3b77d5b5bdb3a2d9d8fd899ef7297a867f4..d1d13da1763dd5788dd5480346d11a94b12b17cf 100644 --- a/Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonAttributeSearchResults.java +++ b/Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonAttributeSearchResults.java @@ -161,7 +161,10 @@ private Map<Integer, CommonAttributeValueList> getMetadata(int maximumPercentage toRemove.add(value); itemsToRemove.put(key, toRemove); } - break; //will be removed do not need to check + //value will be removed as the mime type existed and was not in the set to be included + //because value is removed this value does not need to be checked further + mimeTypeToRemove = true; + break; } } if (mimeTypeToRemove) {