Fixed last() to use iter().