Fixing bug where no scheduler items would cause an error.