Fixed an issue with recalculating fitness inaccurately