improve sqlite IN() max of 999 chunking