Bugfix in dataTable layer for thumbnails and for new documents.