Fix docs for constraints
Merge pull request #693 from iven/docs

Fix docs for constraints