Corrected constraint execution on single line docid columns (refs #4059)
Merge pull request #899 from eguaj/3.1-A4059

Corrected constraint execution on single line docid columns (closes #4059)