Fixed Utils.slice when start and end are both given

(this case was never used by the current code)