Fix: position may not be null
Remove: unnecessary property definition
Fix: re-index array

NodeIterator breaks if array is not re-indexed.