Fix for long predicate comparisons with large numbers

Fixes an issue where we were downcasting to int when constructing our query.

@tgoyne 
Should be %lli (long and long long are the same size on our 64-bit targets, but not 32-bit).