Overwrite deadline date by null when edited deadline date is empty