fix Issue 8631 - illegal overrides accepted
Merge pull request #1450 from 9rnsr/fix8631

Issue 8631 - illegal overrides accepted