Fixed typo in upgrade script.