handle nil close dates in pipeline metric