MDL-33127 Fixed the problem when storing draft files