Fix "TypeError: 'NoneType' object is not iterable" on SLA scheduler