Fixing typo which caused data and signal histos not to be written out