facetwp ignore query by posts_per_page

<?php

// Add to your (child) theme's functions.php

add_filter( 'facetwp_is_main_query', function( $is_main_query, $query ) {
    if ( 2 > $query->get( 'posts_per_page', 0 ) ) {
        $is_main_query = false;
    }
    return $is_main_query;
}, 10, 2 );