Fixed boolean cast error in raceinfo command.
Improved on-foot distance fix during starting grid.