XWIKI-9993: History is wrong when imported with WikiStream based standard import

(cherry picked from commit 0bf587c6ba616d49ca060041324ec1b4833255e4)