If you're not aware, you can remap modifier keys in System Settings on macOS. It doesn't have individual settings for left/right versions of a modifier key, so keep it in whichever mode has the modifiers on left/right paired with each other correctly, and then swap their functions to the right ones.
https://www.keychron.com/pages/k4-user-manual