LPS-37945 When a folder is removed, it's workflowDefinitionLink is left in the db