Fixes workflow so that it can have duplicate transition names.