Handle RootTaskInfo with no child tasks

If a visible RootTask is present but childTasksIds, etc is empty,
the call to .first() will throw a NoSuchElementException. Skip
these within the previous filter operation using 'hasChildTasks'.

Change-Id: I777cd7e370e37bb923b1903e7c67bcfc382cc89c
4 files changed