Can command key up and command key down events be suppressed?

I'm using Microsoft Remote Desktop Beta to log into my remote Windows system. One of the programs I use in Windows uses Cntl-Q for search. This would be no problem, except that I often type Command-Q instead of Control-Q. This has the unfortunate effect of shutting down Remote Desktop Beta.

So I created a macro that intercepts the Command-Q and then basically does nothing. Of course this macro is only in effect when I use Remote Desktop Beta.

But it seems that Windows is looking out up and down events on the command key (which Remote Desktop remaps to the "Windows key"). So my Windows system now sees a Windows key down event followed by a Windows key up event. This causes Windows to pop up the start menu, which is not what I want.

As a work around I have my macro pause for 0.5 seconds and then send an escape character, which hides the Start menu.

But I have to wonder if there is way to get Keyboard Maestro to intercept these key up and key down events and before they get sent to windows. Of course I'd still want the key press events like Command-Tab, Command-D, Command-C, and Command-V to behave normally. I have a sense that this isn't possible with Keyboard Maestro. Is it?