Fixed accidentally using iterator instead of list.