Index not empty, because handlebars give back an error