Fix break in Task list view and the detail view for the model change.

1. make sure the children size is 1.
2. update the detail list view's model to reflect the model change.