There is no default Detector constructor anymore, so set the detector to None if one is not persisted with the exposure