Enable ‘strict query detection’ with PHP

<?php

add_filter( 'facetwp_is_main_query', function( $is_main_query, $query ) {
  if ( $query->is_archive() && ! ( $query->is_main_query() || true === $query->get( 'facetwp', false ) ) ) {
    $is_main_query = false;
  }
  return $is_main_query;
}, 100, 2 );