Fixed an issue with selecting genes.