Fixed another template bug.