build booleanQuery with TermQueries for "where X in (...)"

the commit 61f0e8c773449b26866f179feedba54665f32cc2 together with
8ead30b6816e96b50f3040ee65908b12ea577081 caused a performance regression for
WHERE x IN as it used table scan
/ source lookups instead of utilizing the lucene index.