#5711 check field for null or no inode
Merge pull request #5715 from dotCMS/issue-5711-comments-bug

#5711 check field for null or no inode