TEIIDDES-2022 added check to prevent setting to null(empty) when cancelled