fix error context

It was working before, but this version is technically more in line with the Handlebars docs, since #if blocks don't change the context