Correct error with version numbers in upgrade.php