Fix last segment stillReadingRange error.