Fix revisions bug in bulk docs