Reduce use of DataSchemaContextTree.getChild()