store g_thrid as BigInteger and send filter by integers, not strings

Test Plan: Run the migration

Reviewers: spang

Reviewed By: spang

Differential Revision: https://review.inboxapp.com/D16