Uninstalling the extension leaves behind the aggregrate message template
And then reinstalling installs another copy. It does delete the single receipt one and the option group and the option values.
I'm not sure what it is yet. Maybe it's something like the delete in sql/uninstall is order-dependent and needs to be broken up.