fixes #1878
Merge pull request #1879 from dotCMS/issue-1878-folderHandler-needs-to-run-before-structureHandler

fixes #1878