Fix past detection.