support 0 pk by checking if the pk is not None
Merge pull request #55 from liorchen/patch-1

support 0 pk by checking if the pk is not None