Fix issue described at http://stackoverflow.com/questions/21777058/loop-index-in-included-nunjucks-file
Merge pull request #280 from amyboyd/stackoverflow-21777058

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