Fix a bug in the nested iterators.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>
Fix some issues with the map tree, but it's still empty on Linux