Fixed scheduler bug