Motion controller set hand doesn't change input mapping

Hi, I am trying to add the ability to swap motion controllers for left and right hand.
When using “set hand” I can swap between left and right, however the action mappings stay the same and are not switching left and right. How can I get the action mappings to flip/flop between left and right hands?
Thanks! Here’s a pic of the setup I currently have

I managed to get this working by creating L and R versions of each action mapping, and then using custom variables to swap between them. It would be good to know if there is an easier way to do this. Thanks!