Fix crash when unprioritized tasks have no interval configured