Changed the end date to add 23:59:59 to the date to ensure events on the end date are included.