Bug fixes for the data recorder sampling in Weapon and Missile