Bug fixes in LevelUpManager.