Fix bug in providing upgrade command for node needing upgrade.