<?php
// Add to your (child) theme's functions.php, and re-index afterwards
add_filter( 'facetwp_index_row', function( $params, $class ) {
if ( 'project_programs' == $params['facet_name'] ) {
$val = $params['facet_value'];
$val = preg_replace( '/^[a-z0-9]/', '-', $val );
$val = preg_replace( '/[\-]+/', '-', $val );
$params['facet_value'] = $val;
}
return $params;
}, 10, 2 );