Prevents failure when registering "root" address

Fixes #1