Fix the return type of GetSliceStart/End.