See the tests added to test_comprehensions.coffee. Previously, after `for i in [1..3]`, i was 4. Also, index variables were never set to any value in comprehensions containing both a closure and a break or return.