CAINT-1342 Revised retrieveGenesInStudy() method to use native SQL for optimization