Correct docid in array with other default value (closes #3992)