@Tom-Elliott Thanks for the fix. It works now (git5040).
For the Database changes - they seem to be OK too:
snapinAssoc: removed snapin associations are deleted from table, Auto_Increment not increased
hostMAC: the table entries for the hosts the snapin has been removed have been rewritten -> new hmIDs, Auto_Increment increased by the number of hosts in the group