Attempted fix for variables with sparse timesteps