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