Fix ``compound_extractor`` case if structural child is structural as well and skip extraction if so.