#4493 calculate deps on structure of content
Merge pull request #4494 from dotCMS/issue-4493-dependency-content-fix

#4493 calculate deps on structure of content