[BUGFIX] Install tool throws database errors in upgrade wizard