Fix creation of document version with no roles