When searching for templates default attribute returned should be the template cn and not the mainAttr from the type searched.