convert the new matcher to check intermediate nodes for a single