Fix bug with level-dependent upgrades not appearing