Small change to not call index#DataDocuments when there are none to index