endDate shouldn't be null