Fixed upgrade process issue.