fix remove_dect, thx olistudent (closes #2056, refs #2024)

git-svn-id: file:///var/svn/freetz/trunk@10319 149334a1-2f27-0410-a3b9-fc62619ac1e6