Fixed the inter-lap gap time calculation.