Index: trunk/pstamp/scripts/dqueryparse.pl
===================================================================
--- trunk/pstamp/scripts/dqueryparse.pl	(revision 41478)
+++ trunk/pstamp/scripts/dqueryparse.pl	(revision 41584)
@@ -385,5 +385,5 @@
                     ($query{$fpa_id}{STATE}[$valid_index] eq 'drop') or 
                     ($query{$fpa_id}{STATE}[$valid_index] eq 'error_cleaned') or 
-                    ($query{$fpa_id}{DATA_STATE}[$valid_index] eq 'error_cleaned') or
+		    ($query{$fpa_id}{DATA_STATE}[$valid_index] eq 'error_cleaned') or
                     ($query{$fpa_id}{STATE}[$valid_index] eq 'goto_scrubbed') or 
                     ($query{$fpa_id}{DATA_STATE}[$valid_index] eq 'scrubbed')) {
@@ -391,7 +391,7 @@
                     # image is gone and it's not coming back
                     $query{$fpa_id}{FAULT}[$valid_index] = $PSTAMP_GONE;
-		    ## MEH error_cleaned isn't necessarily gone though
-		    ## if BAD_COMPONENT not set then doesn't get added to faulted_rows list (others need this too?)
-                    $query{$fpa_id}{BAD_COMPONENT}[$valid_index] = 1;
+		    ## MEH why was this missing? should be added to other FAULT cases...
+		    ## messes with row order, skipping the faulted rows on output, unclear if problem since happens in other cases too 
+		    $query{$fpa_id}{BAD_COMPONENT}[$valid_index] = 1;
                 }
                 elsif ($need_magic and ($query{$fpa_id}{MAGICKED}[$valid_index] eq 0)) {
