Reusing `i` was causing an infinite loop in a certain scenario.

1. Not sure the best way to write a test for this.
2. Haven't broken it down to specifics, but rendering a Quilt View with this snippet for `el` was getting me into an infinite loop:

```html
<div data-ref='actions'>
  <button class='btn btn-primary' data-add-worker>
    <i class='icon-plus icon-white'></i> Add Worker
  </button>

  <button class='btn btn-primary' data-refresh>
    <i class='icon-refresh icon-white'></i> Refresh
  </button>
</div>
```