fix query_string bug that crashed test
Fixes #32 by chaing types for operator overloading from int32_t to int, long