Fixed default model validation bug.
Merge branch 'develop' into database