fixed >2^31 test in sqlite, doens't really make sense this way