fixed a bug in cyclicworkflow, but there is som refactoring that needs to be done there
don't need those spaces
almost forgot to add a test
Merge pull request #1738 from JustinSGray/dev

fixed a bug in cyclicworkflow