Fixing elitism percentage not working correctly