Index: /branches/pap_delete/ippScripts/scripts/magic_process.pl
===================================================================
--- /branches/pap_delete/ippScripts/scripts/magic_process.pl	(revision 27540)
+++ /branches/pap_delete/ippScripts/scripts/magic_process.pl	(revision 27541)
@@ -160,5 +160,5 @@
                 my $command = "$difftool -inputskyfile -diff_id $diff_id -skycell_id $node"; # Command to run
                 $command .= " -dbname $dbname" if defined $dbname;
-                if ($node->{inverse}) {
+                if ($innode->{inverse}) {
                     # Want the input because we're magicking the reference
                     $command .= " -input";
@@ -197,5 +197,5 @@
 
                 my $command = "$ppSubConvolve $tempPath -image $image -mask $mask -kernel $kernel";
-                $command .= " -reference" unless $node->{inverse};
+                $command .= " -reference" unless $innode->{inverse};
                 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
                     run(command => $command, verbose => $verbose);
