Support unsigned in query

Fixes #6