Fix issue described at http://stackoverflow.com/questions/21777058/loop-index-in-included-nunjucks-file