Fix bug where not entering an end date or time, even with the box unticked, resulted in an error.