Handle negative conditional blocks in template.