Fix for document owner bug introduced by EMR Direct support.