Not displaying mini cart strikeout and not applying rule in cart because of other plugins conflict

Ensure mini cart strikeout isn't displayed and rule isn't applied due to plugin conflicts.

add_filter('woo_discount_rules_remove_event_woocommerce_before_calculate_totals', '__return_true');

add_action('woocommerce_before_mini_cart', function (){
    if (!WC()->cart->is_empty()){
        WC()->cart->calculate_totals();
    }
});