Experimental fix to overcome an issue with Oracle which doesn't accept more than 1000 entries in a set used in a SELECT statement. SVN: 25411