Fixes #1078 - add offset support to @index
Merge pull request #1107 from sykopomp/1078-index-offset

Fixes #1078 - add offset support to @index