Coalesce lines for different modes for the same date, time, and location