Index: trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
===================================================================
--- trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm	(revision 27989)
+++ trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm	(revision 27990)
@@ -871,8 +871,10 @@
     my $exp_id = $image->{exp_id};
     if (defined $lastCamRun) {
-        # running camtool 60 times is really expensive when the answer is the same every time
-        $image->{astrom} = $lastCamRun->{astrom};
-        $image->{cam_path_base} = $lastCamRun->{path_base};
-        return 1;
+        if ($lastCamRun->{exp_id} == $exp_id) {
+            # running camtool 60 times is really expensive when the answer is the same every time
+            $image->{astrom} = $lastCamRun->{astrom};
+            $image->{cam_path_base} = $lastCamRun->{path_base};
+            return 1;
+        }
     }
     # $last_exp_id = 0;
