Fix problem if laptime or invalid in JSON file