dmxBrowser.goto inserts invalid formatting

Wappler Version : 7.9.7
Server Model: NodeJS

This seems to be due to the updated routing system that was released a while ago. When inserting a dmxBrowser.goto on something like dmx-on:invalid, and select a route using the route selector, it inserts the following:

dmx-on:invalid="dmxBrowser.goto(/401)"

This results in a browser console error when fired:

Expression error in component "getProfileData" for dmx-on:invalid at dmx-serverconnect#getProfileData: Expected R_PAREN at index 17 in expression: dmxBrowser.goto(/401)

The only way to resolve it is to manually go in and put the route in apostrophes.

dmx-on:invalid="dmxBrowser.goto('/401')"