Making new blog template work with wp-piwik

Just sharing, when using NBT and wp-piwik the setting wp-piwik_settings needs to be excluded from being copied from the template (or else all sites will track using the same id as the template)

function blog_template_exclude_piwik_settings ($and) {
	$and .= " AND <code>option_name</code> != 'wp-piwik_settings'";
	return $and;
}
add_filter('blog_template_exclude_settings', 'blog_template_exclude_piwik_settings');

does the trick