Fixed a bug in the MSiPulseHeight