Fix bug DNN-4845: the CommentXml column may update as an empty string but not null, need check whether root element exists.