Don't pass doc id so version is used, fix #1563
For#1548: fix regression with language selection in itemset editor