Fix HD-Torrents provider

Few quick bug fixes to fix the hd-torrents provider so that it actually works and does not throw any errors.