Fixes Issue 3673 - Allow putting constraint after inheritance list.
Merge pull request #1227 from AndrejMitrovic/Fix3673

[enh] Issue 3673 - Allow putting constraint after inheritance list