That was a recent bugfix in the Advanced Scene Switcher plugin. Maybe OBS has the same bug?
This plugin will allow you to automate various tasks using "Macros". Macros consist of a list of conditions under which a list of actions will be performed. Examples and guides can be found in the wiki. Feel free to contribute! If you run...
obsproject.com
If so, then you might use Adv. SS Websocket instead of OBS Websocket:
It uses the same Websocket server, with a specially-formatted message to get through OBS's filters and actually get to the plugin. I've forgotten what that format is, but communicating from one instance of the plugin to another "just works", so you might be able to capture that and copy it.
Or you can ask in the discussion thread:
Warmuptill submitted a new resource: Automatic Scene Switching - Switches to specified scenes depending on which window is in focus A remake of the "Simple Scene Switcher"(https://obsproject.com/forum/resources/simple-scene-switcher.29/) for obs-studio. Installation 1. Extract the folder. 2...
obsproject.com
The author is very active in there, and very accommodating.