View helper fails when run via mutating array

It appears that this is related to the `@index` value changing, causing a parameter mismatch in
`compareHelperOptions`. Removing that check resolves the issue but I don't think that this is
necessarily the right fix.

Failing unit tests attached.