Fixed an error with partial torrents.