KRACOEUS-7595: Extra logic added to assist in avoiding the null document number issue.
Merge pull request #1034 from jamey-rsmart/KRACOEUS-7595

KRACOEUS-7595: Extra logic added to assist in avoiding the null document...