matroskadec: simplify check for hierarchy level