Fixing halfway point calculation for races.