Fixed scheduler not putting on the correct queue