diff --git a/src/THcRaster.cxx b/src/THcRaster.cxx
index ddd74320396bb159f311004294279cbe61171aa2..628af3b3eb2df70b7ae5cc1a3fc68e245bb61baf 100644
--- a/src/THcRaster.cxx
+++ b/src/THcRaster.cxx
@@ -405,7 +405,7 @@ Int_t THcRaster::Decode( const THaEvData& evdata )
 
   // Get the pedestals from the first 1000 events
   //if(fNPedestalEvents < 10)
-  if(gHaCuts->Result("Pedestal_event") & (fNPedestalEvents < 1000)) {
+  if(gHaCuts->Result("Pedestal_event") && (fNPedestalEvents < 1000)) {
       AccumulatePedestals(fRawHitList);
       fAnalyzePedestals = 1;	// Analyze pedestals first normal events
       fNPedestalEvents++;