Bug in upgrade.