Fixed issue where level_0 queue wasn't updating to point to the running thread when the level_0 queue was empty