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