Fixed hang-up of Gadget2 when timesteps of zero are encountered