Workaround for issue 2406

Add null check when creating mCreateStatisticsOverviewTask