I’m not sure why your filter is not working, it seems like it should be working.
Is it possible that there is another acf/fields/taxonomy/wp_list_categories filter that is interfering?
Try using the field key variant of the filter.
Try increasing the priority of your filter. If this corrects it then might be another active filter on this hook.