fix: do not try to sub notice period from contract end date if notice period is not set