Fail gracefully when nid is invalid.
Bump minor release to 1.0.1