Fix getting title from first child node