Allow 0 as entity id
Merge pull request #3 from mishak87/patch-2

Allow 0 as entity id (closing #3)