Fixed an error in new_todo_list example: the filter function was not working well.