MS-286: properly detect type of document