To the maintainer of this module: the two install scripts (for 1.3.9 and 1.5.x) both need the following changes: the lines

DELETE FROM configuration WHERE configuration_group_id = @cid;
DELETE FROM configuration_group WHERE configuration_group_id = @cid;

need to have "AND configuration_group_id != 0" added to them. Thank you!