Fixed a bug where the target date and start date could not be null [skip ci]