Small bugfix to daily_country_aggregate()

When None is passed in to cause the aggregates to flush, the split() call on the None argument will cause an exception. Move the split() call inside the if statement.