Workaround for issue 2406
Add null check when creating mCreateStatisticsOverviewTask
Merge pull request #662 from timrae/issue2406

Workaround for issue 2406