Don't pile derived attributes (Fix #7850)