Fix for name bug

When torrents were removed, the names didn't change and were those of the old torrents.
We fix this by updating them too.