Fixed iterator crash.