..F....... [ZBX-7976] fixed template unlinking from another template