Fix bug in data packet slice range.