Use just first element for ancestors in composites