fix for #49
fix for #49

Modified logic so that we check to see of errors and doc_index is zero which would indicate an idDoesNotExist vs when doc_index - doc_errors being zero which is a cannotDisseminate format.

Signed-off-by: Jim Klo <9e95f34b3fa887d597a67c66f27cf641fe2c2a41@sri.com>

LearningRegistry/LearningRegistry,jimklo/LearningRegistry,LearningRegistry/LearningRegistry,LearningRegistry/LearningRegistry,LearningRegistry/LearningRegistry,jimklo/LearningRegistry,jimklo/LearningRegistry,jimklo/LearningRegistry,jimklo/LearningRegistry,jimklo/LearningRegistry,jimklo/LearningRegistry,jimklo/LearningRegistry,LearningRegistry/LearningRegistry,jimklo/LearningRegistry,LearningRegistry/LearningRegistry,LearningRegistry/LearningRegistry