[MONDRIAN-2122] NPE ragged hierarchies