Minor, fix an issue where creating a provider without changing anything
fails to save it because there are no effective transactions.