Another fix in genes calculation.