Fix slicing of time