Fix for long predicate comparisons with large numbers

Fixes an issue where we were downcasting to int when constructing our query.

@tgoyne 
Turns out you were right here - the %lli works for all platforms once our variable is a long long instead of a long.

The predicate parser still works with long longs which is why our system is able to work properly with 64bit numbers with this fix.