Make sure address parts not return "nilclass"

Fixes #2