make checks type safe
Merge pull request #78 from Deltachaos/duplicate-nodes-on-id-0

Duplicate Nodes on ID 0