BS5 Button Group Classes - small bug when making vertical

Wappler Version : 5.0.2
Operating System : Mac M1
Server Model: NodeJS
Database Type: Maria
Hosting Type: Docker AWS

When switching a button group to vertical the original button group is left in place, adding the btn-group-vertical class rather than replacing it:

The original btn-group should be removed.

When removed manually in Code view, the button group is no longer visible in the app tree