[Lackman] Fixed segfault on no upgrades (again).