Fix session lap logic when a race involved