Avoid generating an upgrade script if temp change log is not empty. This will reduce the chances of having issues after the upgrade.