Actually I looked into it in SWS already and it wouldn't be hard to fix there but I'm hesitant to submit as I'm not sure if the issue is on Reaper API or SWS side.
edit:
Started a thread in the developer forum:
https://forum.cockos.com/showthread.php?t=219385