Fixed error upgrading powerplants