Don't pass doc id so version is used, fix #1563