Adds checks for unmatched {{}}