Add option to use IN instead of repeated = queries.