Change task_lists.all.each to task_lists.find_each