Workaround for ORA-01795

Split one WHERE IN clause into multiple clauses each with up to 1000
expressions