Fixes to history timestep handling.