Index: trunk/ippScripts/scripts/ipp_cleanup.pl
===================================================================
--- trunk/ippScripts/scripts/ipp_cleanup.pl	(revision 30630)
+++ trunk/ippScripts/scripts/ipp_cleanup.pl	(revision 30822)
@@ -130,8 +130,10 @@
         $status = 0 unless defined $path_base and $path_base ne "NULL";
 
+        my $poor_quality = $imfile->{quality} > 0;
+
         # don't clean up unless the data needed to update is available
         # modes goto_purged and goto_scrubbed will remove files even if the config is non-existent
         # goto_scrubbed now requires the config file to not exist.
-        if ($status) {
+        if ($status and !$poor_quality) {
             if ($mode eq "goto_cleaned") {
                 my $config_file = $ipprc->filename("PPIMAGE.CONFIG", $path_base, $class_id);
