After upgrading from Matomo 3.9.1 to 5.0.3, the pageview count for a specific site (idsite 1) registered in Matomo is significantly higher than it was in Matomo 3.9.1

After upgrading from Matomo 3.9.1 to 5.0.3, the pageview count for a specific site (idsite 1) registered in Matomo is significantly higher than it was in Matomo 3.9.1.

● Incident
After upgrading from Matomo 3.9.1 to 5.0.3, the pageview count for a specific site (idsite 1) registered in Matomo is significantly higher than it was in Matomo 3.9.1.
However, for other sites (idsite 2, 3, and 4), the numbers do not deviate significantly.

● Questions
Due to the change in segment specifications in Matomo 3.12.0, where segments that were previously applied to pageviews are now applied to visits,
I changed the login import options after upgrading to Matomo 5.0.3 as follows.
Is this change appropriate?

・idsite 1:
In Matomo 3.9.1, after importing the IIS logs, the directories /test1/, /test2/, and /test3/ were excluded using the segment settings.
However, after upgrading to Matomo 5.0.3, the configuration was changed to specify ‘–exclude-path=’ in the logimport options.
The import command is noted under “Confirmed Details” below.

・idsite 2~4:
In Matomo 3.9.1, after importing the IIS logs, the segment settings were configured to include the test1, test2, and test3 directories.
However, after upgrading to Matomo 5.0.3, the configuration was changed to specify ‘–include-path=’ in the logimport options.
The import command is noted under “Confirmed Details” below.

● Confirmed Details

  1. There are no exclusion settings, such as excluded IP’s or excluded parameters, in the settings for the websites(idsite 1-4) in Matomo.

  2. The settings for idsite 1.
    In Matomo 3.9.1, after importing the IIS logs, the segment settings were configured to exclude the test1, test2, and test3 directories.

    Matomo 3.9.1 Segment Settings:
    idsite1: ‘Page URL’ ‘does not contain’ ‘http://example.com/test1/
    idsite1: ‘Page URL’ ‘does not contain’ ‘http://example.com/test2/
    idsite1: ‘Page URL’ ‘does not contain’ ‘http://example.com/test3/

    In Matomo 5.0.3, exclusions are specified using the ‘–exclude-path=’ option in the logimport settings.

    test0 Site Logimport Batch (idsite 1):
    REM “–example.com–”
    for /f “usebackq” %%i in (dir /B %import-dir%*) do (
    C:\Users\Administrator.PA\AppData\Local\Programs\Python\Python312\python.exe C:\Apache24\htdocs\piwik\misc\log-analytics\import_logs.py --log-format-name=iis --url=http://xxx.xxx.xxx.xxx/piwik/ --exclude-path=“/test1/" --exclude-path="/test2/” --exclude-path=“/test3/*” %import-dir%%%i login=xxxxx password=xxxxx --idsite 1 >> D:\import_result_yyyymmdd.txt
    )

  3. The settings for idsite 2~4.
    In Matomo 3.9.1, after importing the IIS logs, the segment settings were configured to include the test1, test2, and test3 directories.

    Matomo 3.9.1 Segment Settings:
    idsite2: ‘Page URL’ ‘contain’ ‘http://example.com/test1/
    idsite3: ‘Page URL’ ‘contain’ ‘http://example.com/test2/
    idsite4: ‘Page URL’ ‘contain’ ‘http://example.com/test3/

    In Matomo 5.0.3, inclusions are specified using the ‘–include-path=’ option in the log import settings.

    1. idsite2 Logimport Batch (http://example.com/test1/):
      REM “–example.com/test1–”
      for /f “usebackq” %%i in (dir /B %import-dir%*) do (
      C:\Users\Administrator.PA\AppData\Local\Programs\Python\Python312\python.exe C:\Apache24\htdocs\piwik\misc\log-analytics\import_logs.py --log-format-name=iis --url=http://xxx.xxx.xxx.xxx/piwik/ --include-path=“/test1/*” %import-dir%%%i login=xxxxx password=xxxxx --idsite 2 >> D:\import_result_yyyymmdd.txt
      )

    2. idsite3 Logimport Batch (http://example.com/test2/):
      REM “–example.com/test2–”
      for /f “usebackq” %%i in (dir /B %import-dir%*) do (
      C:\Users\Administrator.PA\AppData\Local\Programs\Python\Python312\python.exe C:\Apache24\htdocs\piwik\misc\log-analytics\import_logs.py --log-format-name=iis --url=http://xxx.xxx.xxx.xxx/piwik/ --include-path=“/test2/*” %import-dir%%%i login=xxxxx password=xxxxx --idsite 3 >> D:\import_result_yyyymmdd.txt
      )

    3. idsite4 Logimport Batch (http://example.com/test3/):
      REM “–example.com/test3–”
      for /f “usebackq” %%i in (dir /B %import-dir%*) do (
      C:\Users\Administrator.PA\AppData\Local\Programs\Python\Python312\python.exe C:\Apache24\htdocs\piwik\misc\log-analytics\import_logs.py --log-format-name=iis --url=http://xxx.xxx.xxx.xxx/piwik/ --include-path=“/test3/*” %import-dir%%%i login=xxxxx password=xxxxx --idsite 4 >> D:\import_result_yyyymmdd.txt
      )

What is the difference between the “does not contain” condition used in Matomo 3.9.1 segments and the “exclude” option used during log imports in Matomo 5.0.3? Is it a difference in application target?
(e.g., 3.9.1 target: pageview, 5.0.3 target: visit)