Every time I record a workflow with a repeat it stops working