Small correction in matched_from_line_density