It is easy enough to side step this problem by keeping a count of the number of items in the list. When this count hits 1000 close the list and add "OR GEO_ID in (" reset your counter and continue....