Correcting end times (0 is 24)