Added end date to getReservations() function.