problem
The foreign keys between workflows and user defaults are setup in a way that all user defaults are getting deleted when deleting only one workflow.
The reason is, that the foreign keys are not pointing to the primary key but to a non unique key.