Added support for @index in #each-helper when used on lists.