Fixes problem with event on only one day.