when root is an array the correct index ordinal is calculated