Fix use of uninitialized variable in scheduler