Prevent undefined method `id` for nil when accessing ListUnfinishedTodos.