Adding small fix to level spawner.