Fixed iterator variable error.