Add an extra check when `contentowner` of an record is not set.
Merge pull request #1165 from xiaohutai/master

Add an extra check when `contentowner` of an record is not set.