Fix time_lasthint bug