Use MaxInt instead of MaxInt64 for ints

This is causing an integer overflow on 386 go builds, because ints are
int32 and not int64 on this platform.
Merge pull request #24 from pelletier/pelletier/integer_overflow

Int overflow in queryparser