Fixed setting a value of null/undefined in duration.
#MBL-10203 Fixed