Updated parameter logic in find_workflows.