Fixed some logic issues with autoresume downloads.