Correct validation rule
Merge pull request #695 from Jomaanro/master

[doc] Correct validation rule in model