..F....... [ZBX-7976] fixed template "unlink and clear" leaving items attached to parent template