TODO: `each` filter should set the `@last` key just like Handlebars.js does