Fixes #7498.

Creates a new iterator using the factory method of the current
trie map iterator rather than returning a `LinearSeqLike` iterator.