removing unnecessary doc_exists calls when in bulk mode