Fixing overlapping date issues so that only a single event is shown per day. Fixing the way in which the number of days is calculated.