Fixed warning during upgrade.