Fixed bug where events within a date range do not show because the end date is out of range.