do not blow up on nil ids
Merge pull request #32 from grosser/nil_id

do not blow up on nil ids