Fixed issue in SQL IN operator with collections