Avoid breaking iterator

Since len is calculated ahead of time, this was causing array bounds violation in iterator.  Assuming only one collection by that name... if found, splice and your done.