Safari Macros Break when New Profile Created

Hi: I have 2 very rudimentary macros that I have been using for nearly a year. I have two Profiles created in Safari: "Default" and "BOH". Because Safari changes the "New Window" Keyboard Commands depending on which Profile is active, my Macros deliberately use the Safari Menus to Open the New Window of the Profile I choose.

Within Keyboard Maestro I've defined Control+D to open a New Default Window. And Control+B opens a New BOH Window and then opens a few tabs. (See attached screenshots). These have worked flawlessly for nearly a year.

Today, I created a third Profile in Safari. And once I did that, these macros did not work as expected. In fact, they appeared to not work at all. But once I used my mouse to deliberately choose either "File" > "New Default Window" OR "File" > "New BOH Window", pressing Control+B opened the Tabs.

And only when I opened Keyboard Maestro's editing window could I sort of see that pressing Control+D was doing something, but the screen flickered so fast, I have no idea what was happening.

And when I deleted the newly created profile, both macros worked flawlessly once again.

Now, I'd understand this behavior if my macros relied on macOS Keyboard commands. But they do not. If anyone has any advice or guidance as to how I can make my KM macros bulletproof, so they continue to work even when I create a New Safari Profile, I would be very grateful.

Thank you very much. Have a lovely day.