Fixed issues related to getGeneForRegion