XWIKI-10014: Failed to import attachments with multiple versions in some version of Confluence