Another fix for EMR Direct method of document storage.