Fixed an error in mc calibrated photon producer.