Index: trunk/ippScripts/scripts/magic_destreak_revert.pl
===================================================================
--- trunk/ippScripts/scripts/magic_destreak_revert.pl	(revision 30832)
+++ trunk/ippScripts/scripts/magic_destreak_revert.pl	(revision 30844)
@@ -204,5 +204,5 @@
 
     # only revert sources if this is a new run, not one being updated
-    if ($run_state eq 'new' or $run_state eq 'goto_restored') {
+    if (($run_state eq 'new') or ($run_state eq 'goto_restored')) {
         $sources = $ipprc->filename("PSPHOT.OUTPUT", $path_base, $class_id);
         $bsources = $ipprc->filename("PSPHOT.OUTPUT", $backup_path_base, $class_id);
