added a failing test
nil out the cycle block
Merge pull request #260 from github/fix-flatten-cycle

Fix -flatten: cycle