Fix bug with cond in ngconnect.tpl