I just edited a workflow and tried to save it overwriting the previous version and I started getting this soap error: soap:ServerServer was unable to process request. ---> An item with the same key has already been added.
I've renamed the workflow that didn't work. Exported the workflow and then created a new one and imported it back in, and it didn't work.