[Bug 10582]   Adding templates with same name in AdminTemplate leads to SQl error message