fixed merge for 2.2.1 #1730
Merge pull request #1772 from dotCMS/issue-1730-dashboard-statistics-problem-oracle

fixes #1730