Fix for grouping lines from two visits on the same day and ip