Handle docs not present for numberOfDocuments query