Fixes the installer/upgrader

We haven't checked whether "deletedthreads" already exists