Dynamic fields in Focus item is printing the variable instead of default if field value is null

Your software
My Mautic version is: 3.3.3
My PHP version is: 7.4.18
My Database type and version is: mySQL

Your problem
My problem is: Dynamic fields only work in Focus Item if there is a known value. Even if there is a pipe to have a default value, as in: Hi {contactfield=firstname|there}. If the field’s value is null, the it returns the entire string. (Hi {contactfield=firstname|there})

These errors are showing in the log: no error shown in logs

Steps I have tried to fix the problem: Many different formatting of the above-mentioned string