Fix iteration for limitless returns

::get_iterated and ::get_iteratedNested updated to properly handle
limitless returns.