Fixed iterator crashing error.

It wasn't able to get the beginning iterator because it wasn't grabbing
the set when it cloned.