Correctly showing downloads with various statuses

Fixed the bug causing an error when a torrent has a status other than 'stopped', 'seeding' or 'downloading'.