Minor commit for a minor bug fix. The issue is related to the fact
that ID's are unsigned 64-bit integers, and Java has a hard time
dealing with them, since it only has signed longs.