WOOF - WooCommerce Products Filter - Fixing Price Filter

woocommerce-products-filter/index.php

if($request['min_price'] == $request['max_price']){
    $max_min_price = $request['max_price'];
    $meta_query[] = [
        [
            'key' => '_price',
            'value' => floatval($max_min_price),
            'compare' => '=',
            'type' => 'NUMERIC'
        ]
    ];
} else {
    $meta_query[] = [
        'relation' => 'AND',
        [
            'key' => '_price',
            'value' => floatval($request['min_price']),
            'compare' => '>=',
            'type' => 'NUMERIC'
        ],
        [
            'key' => '_price',
            'value' => floatval($request['max_price']),
            'compare' => '<=',
            'type' => 'NUMERIC'
        ]
    ];
}

Delete the line of code inside

if ($request['min_price'] <= $request['max_price']) {}

and replace it with the one above.

index.php

woocommerce-products-filter/classes/helper.php

if ($v[0] > $v[1]) {
    continue;
}

Replace the code line 441-443 with the one above.

helper.php
Hope that fixes the problem with the price filter.