[server][HostResourceQueryOption] Fix a potential problem that causes a SQLite3's error when the right value is over 0x8000000000000000.