Modular calculation to resolveGene. Addressed FindBugs report.