Changed the unsigned integers to signed

for compatibility with postgres and sqlite.
Fixes #358