Do you use SharePoint Migration Tool?
What version are you using? Please confirm the version you are using, as far as I know, this problem does occur in older versions. It is resolved in SharePoint Migration Tool v18.104.22.168 BETA, which is available to be downloaded there:
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.