Improved missing date detection.