Fix Fortran timestep code.