Fixing some stuff with range requests.