Add OR functionality to handlebars survey templating, fix GIN index.