It's too bad that Stack Overflow's artificial intelligence policy doesn't allow answers generated by AI tools because GitHub CoPilot answered my question AND EXPLAINED ITS ANSWER in less then five minutes, including half a dozen follow-ups and challenges.
It actually read what I wrote and was able to solve and explain the issue instead of ignoring, assuming, etc.