Fix assumption that ownerId is an integer type.
Merge pull request #3 from elijajah/feature/fixCastingException

Fix assumption that ownerId is an integer type.