Bug fixed: Scheduling Program-s without events does not cause exception anymore.